home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / sound / rndsnd11.zip / MAKEFILE next >
Text File  |  1992-08-22  |  2KB  |  72 lines

  1. # $Id: makefile 1.2 92/08/22 15:35:57 AMc Exp Locker: AMc $
  2. #
  3. # RandySnd is (C) 1992 Anthony McCarthy
  4. #
  5. # Feel free to use and abuse this program to your own ends.
  6. # However, it is provided FREE, AS-IS and with absolutely NO
  7. # WARRANTY whatsoever. Use it at your own risk.
  8. #
  9. # If you really like this program, a donation of a few pounds,
  10. # dollars, roubles, francs or whatever would be appreciated, to:
  11. # Anthony McCarthy, 14 Beryl Road, Bedminster, Bristol, BS3 3DH, UK
  12. #
  13. # Having said there's no warranty, please report any bugs to:
  14. #  amc@beryl.demon.co.uk
  15. #  amccarthy@cix.compulink.co.uk
  16. #  100012.3712@compuserve.com
  17. #
  18. # This is the MSC7 makefile for the RANDYSND Windows 3.1 utility
  19.  
  20.  
  21. DEBUG_BUILD = 0
  22.  
  23.  
  24. !IF $(DEBUG_BUILD)
  25.  
  26. CLDBG = -Od -Zi
  27. LNDBG = /CO
  28.  
  29. !ELSE
  30.  
  31. CLDBG = -Os
  32. LNDBG =
  33.  
  34. !ENDIF
  35.  
  36.  
  37.  
  38. all: randysnd.exe
  39.  
  40.  
  41. UPCH = -Yuafxwin.h
  42. CC = cl -c -d -Yd -W4 -G2 -GAs -Zp -AS $(CLDBG)
  43.  
  44. afxwin.pch: makefile
  45.   $(CC) -Ycafxwin.h randysnd.cpp
  46.  
  47. randysnd.res: randysnd.rc randysnd.dlg randysnd.h
  48.   rc -r randysnd.rc
  49.  
  50. randysnd.obj: randysnd.cpp randysnd.h afxwin.pch
  51.   $(CC) $(UPCH) $*.cpp
  52.   
  53. randysnd.def: makefile
  54.   copy << randysnd.def
  55. NAME RANDYSND
  56. DESCRIPTION 'System Sound Randomizer : (C) 1992 Anthony McCarthy'
  57.  
  58. STUB 'WINSTUB.EXE'
  59. EXETYPE WINDOWS
  60.  
  61. HEAPSIZE  1000
  62. STACKSIZE 8000
  63.  
  64. CODE MOVEABLE LOADONCALL DISCARDABLE
  65. DATA MOVEABLE MULTIPLE
  66. <<
  67.  
  68. randysnd.exe: randysnd.obj randysnd.res randysnd.def makefile
  69.   link $(LNDBG) /NOD /NOE randysnd,,,safxcw shell mmsystem commdlg libw slibcew,randysnd.def;
  70.   rc -v -t randysnd.res
  71.  
  72.